<template>
  <div class="app">
    <teleport to="#why">
      <h2>当前计数:{{}}</h2>
      <button>+1</button>
      <hello></hello>
    </teleport>
  </div>

  <teleport to="#why">
    <h2>ahahhaha</h2>
  </teleport>
</template>

<script>
import Hello from './Hello.vue'
export default {
  components:{
    Hello
  }
};
</script>

<style lang="scss" scoped>
</style>